# centos
FROM gcc:latest
COPY ["cmake-build-debug/wsserver", "/app/bin/wsserver"]
COPY ["config.json", "/app/bin/config.json"]

COPY ["lib/libPocoFoundation.so.94", "/usr/lib/"]
COPY ["lib/libPocoJSON.so.94", "/usr/lib/"]
COPY ["lib/libPocoNet.so.94", "/usr/lib/"]
COPY ["lib/libPocoUtil.so.94", "/usr/lib/"]
COPY ["lib/libPocoXML.so.94", "/usr/lib/"]
COPY ["lib/libmodbus.so.5", "/usr/lib/"]

WORKDIR /app/bin/
ENTRYPOINT [ "/app/bin/wsserver" ]
